<?php

// if user is already logged-in, redirect to home page
if ($_SESSION['user_logged'] == 1) {
	header('Location: '.BASE_URL .'/home');
	exit();
}